package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppSmsDao;
import com.vf.admin.client.dao.AppSmsIpDao;
import com.vf.admin.client.service.AppSmsIpService;
import com.vf.admin.client.service.AppSmsService;
import com.vf.admin.miaodong.entity.AppSms;
import com.vf.admin.miaodong.entity.AppSmsIp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppSmsIpServiceImpl implements AppSmsIpService {
    @Autowired
    private AppSmsIpDao appSmsDao;

    @Override
    public void save(AppSmsIp params) {
        appSmsDao.save(params);
    }

    @Override
    public List<AppSmsIp> getByIp(String ip) {
        return appSmsDao.getByIp(ip);
    }


}
